import React, { Component, PropTypes } from 'react';
import './ArrowTriangle.css';

// 三角形矢印の画像
import imgArrowImg from './images/imgArrow.png';

class ArrowTriangle extends Component {
  render() {
    const { width, height, style } = this.props;
    return (
      <div className="ArrowTriangle" style={style}>
        <img src={imgArrowImg} className="interval" alt={''} width={width} height={height} />
      </div>
    );
  }
}

/*ArrowTriangle.propTypes = {
  width: PropTypes.number,
  height: PropTypes.number,
  style: PropTypes.object,
}*/

ArrowTriangle.defaultProps = {
  width: 58,
  height: 78,
  style: {},
}

export default ArrowTriangle
